<form action="/${orgi}/design/query/datagroupeditdo/${reportid!''}/${modelid!''}.html?pkgid=${pkgid!''}<#if ds??>&dsid=${ds.id!''}</#if>" data-toggle="ajax-form" data-target="#cz_${reportModel.id!''}" method="post" id="renameForm">
<div class="artCon">
	<div class="middleArt">
		<div id="rename_big_div" class="artMain">
			<div class="mainTop row-fluid" style="padding-bottom:0px;">
				<div class="span3"><h3>分组显示类型：</h3></div>
				<div class="span8">
					<select name="chartype" class="span10" onchange="if($(this).val() == 'pie'){$('#pie').show();}else{$('#pie').hide();}">
						<option value="column" <#if ds?? && ds.chartype?? && ds.chartype == 'column'>selected="selected"</#if>>柱形图</option>
						<option value="spline" <#if ds?? && ds.chartype?? && ds.chartype == 'spline'>selected="selected"</#if>>折线图</option>
						<option value="pie" <#if ds?? && ds.chartype?? && ds.chartype == 'pie'>selected="selected"</#if>>饼形图</option>
					</select>
				</div>
			</div>
			<div class="mainTop row-fluid" style="padding-bottom:0px;<#if ds?? && ds.chartype?? && ds.chartype == 'pie'>display:block<#else>display:none;</#if>" id="pie">
				<div class="row-fluid">
					<div class="span3"><h3>显示位置：</h3></div>
					<div class="span1">
						距顶
					</div>
					<div class="span2">
						<input type="text" name="top" value="${ds.top!'0'}" class="span12">
					</div>
					<div class="span1">
						距左
					</div>
					<div class="span2">
						<input type="text" name="left" value="${ds.left!'0'}" class="span12">
					</div>
				</div>
				<div class="row-fluid">
					<div class="span3"><h3>尺寸：</h3></div>
					<div class="span8">
						<input type="text" name="size" value="${ds.size!'100'}">
					</div>
				</div>
				<div class="row-fluid">
					<div class="span3"><h3>数据标签：</h3></div>
					<div class="span8">
						<label><input type="radio" name="datalabel" value="1" <#if ds.datalabel?? && ds.datalabel==true>checked="checked"</#if>>显示</label>
						<label><input type="radio" name="datalabel" value="0" <#if ds.datalabel?? && ds.datalabel==false>checked="checked"</#if>>不显示</label>
					</div>
				</div>
			</div>
			
		</div>
		<div style="text-align: center;" class="bottomBg">
			<div class="btnWrap">
				<input type="button" onclick="$('#renameForm').submit();" class="subButtonStyle" value="确认"/>
				<input type="button" onclick="closeR3ArtDialog()" class="cancelButtonStyle" value="取消"/>
			</div>
		</div>
	</div>
</div>
</form>